package com.yuzhi.master.drainEvents.domain.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.yuzhi.common.core.domain.PageQuery;
import com.yuzhi.master.drainEvents.domain.bo.DrainEvents;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 条件查询事件
 *
 * @Author mr.lcc
 * @Data 2025/7/24 12:35
 */
@Data
public class DrainEventsReq extends DrainEvents {

    /**
     * 分页信息
     */
    private PageQuery pageQuery;

    /**
     * 事件来源
     */
    private String planName;

    /**
     * 处理人员名称
     */
    private String processName;

    // 时间范围查询
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime startTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime endTime;
}
